package net.thumbtack.onepm.tests;

import java.net.URL;
import java.util.concurrent.TimeUnit;
import org.junit.*;
import static org.junit.Assert.*;
import org.openqa.selenium.*;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.support.ui.Select;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;


/**
 * Created with IntelliJ IDEA.
 * User: efrolova
 * Date: 25.09.12
 * Time: 15:39
 * To change this template use File | Settings | File Templates.
 */
public class AnswerOnQuestion extends TestBase {


        @Test
        public void testUntitled3 () throws Exception  {
            LoginFB a = new LoginFB();
            a.LogFB();
            driver.get(baseUrl+"/people/me");
            driver.findElement(By.cssSelector("#answer_12 > span.text")).click();
            driver.findElement(By.linkText("I love a big juicy steak.")).click();
            Thread.sleep(1000);
            driver.get(baseUrl + "/logout");
            }


    }
